//
//  SISSTenantModel.m
//  SISSAPP
//
//  Created by 袁应荣 on 2017/12/14.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import "SISSTenantModel.h"

@implementation SISSTenantModel

//返回一个 Dict，将 Model 属性名对映射到 JSON 的 Key。
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"ID": @"id"};
}

- (void)setHouseFeature:(NSString *)houseFeature {
    if ([houseFeature hasSuffix:@"#"]) {
        _houseFeature = [houseFeature substringToIndex:houseFeature.length - 1];
    } else {
        _houseFeature = houseFeature;
    }
}

- (void)setHouseConfigure:(NSString *)houseConfigure {
    if ([houseConfigure hasSuffix:@"#"]) {
        _houseConfigure = [houseConfigure substringToIndex:houseConfigure.length - 1];
    } else {
        _houseConfigure = houseConfigure;
    }
}

@end
